package io.vertx.core.impl;

public class VertxUtils {

	/**
	 * 当前运行的上下文 -- 不需要返回默认
	 * 
	 * @return
	 */
	public static ContextInternal noDefcontext() {
		Thread thread = Thread.currentThread();
		if (thread instanceof VertxThread) {
			return ((VertxThread) thread).context();
		}
		return null;
	}
}
